package com.yu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yu.config.result.BackResult;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface ExcelService extends IService {

    //第一种导入方法
    BackResult importOneExcel(MultipartFile file) throws IOException;

    //第二种导入方法
    BackResult importTwoExcel(MultipartFile file) throws IOException;

    //第一种导出方法
    void exportOneExcel(HttpServletResponse response , MultipartFile file) throws IOException;

    void exportTwoExcel(HttpServletResponse response) throws IOException;
}
